variable "cdn_domain_name" {
  default = ".examples.com"
}
variable "cdn_type" {
  default = "web"  //web，download，video
}
variable "cdn_scope" {
  default = "domestic"  //domestic = 国内，overseas =海外，global =全球
}
variable "tags" {
  default = {}
  type = map(string)
}

variable "cdn_sources" {
  type = list(object({
    content           = string
    type              = string
    priority          = string
    port              = string
    weight            = string
  }))
  default = []  
}
variable "cdn_certificate_config" {
  type = list(object({
    server_certificate_status = string
    server_certificate        = string
    private_key               = string
    cert_name                 = string
    force_set                 = string
    cert_type                 = string
  }))
  default = []  
}
